const Router = require('koa-router');
const router = new Router
const User = require('./controllers/User')
router.prefix('/chat')
router
  .post('/user/register', User.register)
  .post('/user/login', User.login)
  .post('/user/details', User.details)
  .post('/user/verification', User.verification)
  .post('/user/SignOut', User.SignOut)
// const Article = require('./controllers/Article.install')
// router
//   .post('/book/add', Article.add)
//   .get('/book/find', Article.find)
//   .post('/book/remove', Article.remove)
//   .post('/book/update', Article.update)

module.exports = router


